Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use 'six.wraps' vs. 'functools.wraps' #37

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Jun 25, 2021

'six.wraps' preserves metdata better under Python 2.7, which makes
stuff like pytest fixture injection work with plain functions.

Closes #36.

'six.wraps' preserves metdata better under Python 2.7, which makes
stuff like pytest fixture injection work with plain functions.

Closes #36.
@tseaver tseaver requested a review from a team as a code owner June 25, 2021 18:00
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 25, 2021
@busunkim96 busunkim96 merged commit 701c3a4 into master Jun 29, 2021
@busunkim96 busunkim96 deleted the 36-retry-wrap-via-six branch June 29, 2021 16:40
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retry: wrapping plain functions fails on Python 2.7
2 participants